<?php
	
	// Load jQuery if it is not already
	
	$view_html = &$this->puzzle->vars->default_html;
	
	if ($view_html != null)
	{
		if (!$view_html->jquery_loaded)
		{
			$view_html->view_head->params->js[] = $this->puzzle->config['dir_ext'] . $DS . $this->extension . $DS . "js" . $DS . "jquery" . $DS . "jquery.tools.min.js";
			$view_html->view_head->params->js[] = $this->puzzle->config['dir_ext'] . $DS . $this->extension . $DS . "js" . $DS . "jquery" . $DS . "jquery.noconflict.js";
			$view_html->jquery_loaded = true;
		}
	}
	
?>
